package com.jfs.exception;

import lombok.Getter;
import org.springframework.security.core.AuthenticationException;

/**
 * @Description 自定义用户被禁用异常
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/9
 */
@Getter
public class UserAccountDisableException extends AuthenticationException {
    private Integer code;

    public UserAccountDisableException(String msg, Integer code) {
        super(msg);
        this.code = code;
    }
}
